package com.april.pattern.structural.bridge;

/**
 * @author April
 * @version V1.0.0
 * @date 2019/07/06 12:39
 * @description
 */
public abstract class Bank {
    protected Account account;

    public Bank(Account account) {
        this.account = account;
    }

    /**
     * 打开账户
     *
     * @return
     */
    abstract Account openAccount();
}
